const Markdown = require('markdown-it')

const md = new Markdown()

// console.log(md.render('## 这是一个标题'));
console.log('md我来了')
module.exports = function (source) {
    let data = md.render(source)
    //{"data": {"a": 1}} 
    return `export default \`${data}\``
}